import request from '@/http'
// import * as enum_types from "./enum_type.ts";

// 获取角色的已关联用户
export const enumS = async (data: object) => {
  return await request.post({
    url: '/api/bizz/enum',
    data: Object.assign({groups: ''}, data)
  })
}

// 获取角色的已关联用户
export const enums = async (data: object) => {
  return await request.post({
    url: '/api/bizz/enums',
    data: Object.assign({groups: ''}, data),
    headersType: 'application/x-www-form-urlencoded'
  })
}

// 获取角色的已关联用户
export const modAndbill = async () => {
  return await request.post({
    url: '/api/bizz/modAndbill',
  })
}

// export const types = enum_types